package com.swpu.pojo;

import java.util.List;

public class PageBean<T> {

    private int totalCount;
    private List<T> row;

    public PageBean(){

    }

    public PageBean(int totalCount, List<T> row) {
        this.totalCount = totalCount;
        this.row = row;
    }

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getRow() {
        return row;
    }

    public void setRow(List<T> row) {
        this.row = row;
    }
}
